package com.qidian.mes.pojo;

/**
 * @Author 严伟伦
 * @Company 无
 * @Description
 * @Date: 2024/10/16 18:45
 */
public class Defect {
    private String defectDesc;
    private int inspectionType;
    private int defectLevel;
    private Integer countQuality;

    private int defectId;

    public Defect(String defectDesc, int inspectionType, int defectLevel, int defectId) {
        this.defectDesc = defectDesc;
        this.inspectionType = inspectionType;
        this.defectLevel = defectLevel;
        this.defectId = defectId;
    }

    public Defect() {
    }


    public int getDefectId() {
        return defectId;
    }

    public void setDefectId(int defectId) {
        this.defectId = defectId;
    }

    public Integer getCountQuality() {
        return countQuality;
    }

    public void setCountQuality(Integer countQuality) {
        this.countQuality = countQuality;
    }

    public String getDefectDesc() {
        return defectDesc;
    }

    public void setDefectDesc(String defectDesc) {
        this.defectDesc = defectDesc;
    }

    public int getInspectionType() {
        return inspectionType;
    }

    public void setInspectionType(int inspectionType) {
        this.inspectionType = inspectionType;
    }

    public int getDefectLevel() {
        return defectLevel;
    }

    public void setDefectLevel(int defectLevel) {
        this.defectLevel = defectLevel;
    }


    @Override
    public String toString() {
        return "Defect{" +
                "defectDesc='" + defectDesc + '\'' +
                ", inspectionType=" + inspectionType +
                ", defectLevel=" + defectLevel +
                '}';
    }
}
